<?php
	require_once("action/dao/Connection.php");

	class SetTextAccueilDAO {
	
		public static function ajouter($titre, $editor) {
			$connection = Connection::connect();
			
			$query = "UPDATE B63_PAGES SET texte = :pediteur WHERE id_page=10";
			
			$statement = oci_parse($connection, $query);
			
			oci_bind_by_name($statement, ":pediteur", $editor);


			oci_execute($statement);
			
		}
		
		
	}

